<!DOCTYPE html>
<html lang="zh-CN"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorator="layout/default">
<head>
<meta charset="UTF-8">
<title>绑定设备</title>
<script type="text/javascript" th:src="@{/assets/scripts/centerBind.js}"
	src='../../../../assets/scripts/centerBind.js'></script>
<link th:href="@{/assets/css/custom/bind.css}"
	href="../../../../assets/css/custom/bind.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div layout:fragment="content" th:remove="tag">
		<div
			th:replace="fragments/tool :: tipMessage (type='',content=${message})"
			th:remove="tag"></div>

		<div class="row qrcode_div_center">
			<div class="qrcode_background">
				<p style="font-size: 16px; padding-top: 25px;"></p>
				<img th:src="${qrUrl}" style="border: 0px;" width=200px height=200px />
				<div class="time_out" onclick="Release.refresh()">
					<input type="hidden" class="refresh-url"
						th:value="@{/sys/my/index}" />
					<p>
						二维码已过期,<a th:href="@{/sys/my/index}">请刷新</a>
					</p>
				</div>
				<p></p>
				<input th:value="${code}" type="hidden" class="code" />
			</div>
			<div class="des_div">
				<dl>
					<dt style="font-size: 16px; font-weight: normal;">说明：
					<dt>
					<dd>1、使用宁云身份管家【扫一扫】扫描QR码即可绑定信任设备
					<dd>
					<dd>2、成功绑定后再次登录系统可通过授信设备扫描QR码进行快捷登录
					<dd>
				</dl>
			</div>
		</div>
		<script type="text/javascript">
			$(document).ready(function() {
				Release.exeData("[[@{/sys/my/status}]]");
			});
		</script>
	</div>
</body>
</html>
